package com.itheima.mapper;

import com.itheima.domain.Course;
import org.apache.ibatis.annotations.*;
import org.junit.internal.Classes;

import java.util.List;

public interface CourseMapper {

 @Select("select c.* from stu_cr sc,course c where sc.cid=c.id and sc.sid=#{sid}")
    public List<Course> findBySid(Integer sid);
}
